import Vue from 'vue'
import App from './App.vue'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from '../src/router/index'

Vue.config.productionTip = false
import axios from 'axios'

let instance = axios.create({
  baseURL: process.env.VUE_APP_URL,
  withCredentials: true
})
Vue.prototype.$axios = instance

Vue.use(ElementUI)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
